package cn.drew.org.service;

import cn.drew.basic.utils.PageList;
import cn.drew.org.domain.SystemDictionaryDetail;
import cn.drew.org.query.SystemDictionaryDetailQuery;

import java.util.List;

public interface SystemDictionaryDetailService {
    //添加
    void add(SystemDictionaryDetail systemDictionaryDetail);
    //修改
    void update(SystemDictionaryDetail systemDictionaryDetail);
    //删除
    void delete(Long id);
    //查找一个
    SystemDictionaryDetail findById(Long id);
    //查找所有
    List<SystemDictionaryDetail> findAll();

    //分页查找数据
    PageList<SystemDictionaryDetail> queryByPage(SystemDictionaryDetailQuery systemDictionaryDetailQuery);

    //批量删除
    void patchDelete(List<Long> ids);


    //根据部门id查找所有员工
    List<SystemDictionaryDetail> findBytypesid(Long typesid);
}
